<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 300px;
            height: 400px;
            border: 10px solid orange;
            margin: 100px auto;
            overflow: hidden;
        }
        img{
            width: 100%;
            height: 100%;
            transition: all 1s;
        }
        div img:hover{
            transform: scale(1.2,1.2);
        }
    </style>
</head>

<body>
    <div>
        <img src="images/1571738220853.jpeg" alt="">
    </div>
</body>

</html>